package com.demo.mapper;

import com.demo.domain.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Created by duanxifeng on 2017/5/12.
 */
public interface UserMapper {

    @Select("select * from Fct_OTSOrder where userId = #{userId}")
    User findUserByUserid(@Param("userId") String userId);
    @Insert("insert into users (userId,pwd) values (#{userId},#{pwd})")
    boolean insertUsers (@Param("userId") String userId,@Param("pwd") String pwd);

}
